import pandas as pd

df = pd.read_csv('from_DSM/numJob_out.txt',header=None,sep='\t')
df.columns = ['user','num']
print(df)
df.sort_values('num',inplace=True)
print(df)